this._userVerifier.connect('ovirt-user-authenticated', this._onOVirtUserAuthenticated.bind(this));
this.smartcardDetected = this._userVerifier.smartcardDetected;
- this.connect('next', () => {
- this.updateSensitivity(false);
- this.startSpinning();
- if (this._queryingService)
- this._userVerifier.answerQuery(this._queryingService, this._entry.text);
- else
- this._preemptiveAnswer = this._entry.text;
- });
-
this.connect('destroy', this._onDestroy.bind(this));
this._userWell = new St.Bin({
entry.clutter_text.connect('activate', () => {
if (entry.reactive)
- this.emit('next');
+ this._activateNext();
});
});
this._defaultButtonWell.add_child(this._spinner);
}
+ _activateNext() {
+ this.updateSensitivity(false);
+ this.startSpinning();
+ if (this._queryingService)
+ this._userVerifier.answerQuery(this._queryingService, this._entry.text);
+ else
+ this._preemptiveAnswer = this._entry.text;
+
+ this.emit('next');
+ }
+
_updateEntry(secret) {
if (secret && this._entry !== this._passwordEntry) {
this._mainBox.replace_child(this._entry, this._passwordEntry);